home *** CD-ROM | disk | FTP | other *** search
-
-
-
- EEEECCCCAAAADDDDMMMMIIIINNNN((((1111)))) EEEECCCCAAAADDDDMMMMIIIINNNN((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- eeeeccccaaaaddddmmmmiiiinnnn - configure and control the global event counters
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- eeeeccccaaaaddddmmmmiiiinnnn [----aaaaDDDDllllMMMMrrrrTTTT] [----dddd event[,event...]] [----eeee event[,event...]]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- eeeeccccaaaaddddmmmmiiiinnnn may be used on systems with MIPS R1x000 processors to configure
- the global event counters maintained by IRIX using the underlying
- hardware event counter mechanisms. The global event counters are
- maintained on a system-wide basis, aggregated over all processes and for
- all user and system mode execution.
-
- The _e_v_e_n_t arguments identify hardware-specific event counters. These may
- be either integers or mnemonic, case-insensitive names. In conjunction
- with the ----eeee option, a single _e_v_e_n_t specification of ???? (with appropriate
- shell escape) will cause eeeeccccaaaaddddmmmmiiiinnnn to list all known event counters, and
- then exit.
-
- The normal usage would be to enable global event counters with eeeeccccaaaaddddmmmmiiiinnnn
- and then to monitor the event counters with eeeeccccssssttttaaaattttssss(1) or the Performance
- Co-Pilot tools.
-
- The options to _e_c_a_d_m_i_n are as follows;
-
- ----aaaa Enable aaaallllllll event counters; this is an abbreviation for using ----eeee with
- all of the possible _e_v_e_n_t counters enumerated, or ----eeee **** (with
- appropriate shell escape).
-
- ----DDDD Turn on diagnostic output associated with the control operations.
-
- ----dddd Disable event counting for the nominated _e_v_e_n_t counters.
-
- ----eeee Enable event counting for the nominated _e_v_e_n_t counters.
-
- ----llll List all event counters for which counting is currently enabled.
-
- ----MMMM By default, event counting is not currently supported for systems
- with a mixture of R1x000 processors, i.e. R10000 and R12000 or
- R10000 and R14000. The ----MMMM flag relaxes this restriction and allows
- control for the subset of the event counters that have the same
- interpretation across all processor types. This option but should
- only be used in controlled execution environments where the
- integrity of the event counter values aggregated across processor
- types can be guaranteed. Great care should be be exercised when
- interpreting the counter values under these circumstances.
-
- ----rrrr Disable (and release the allocation for) all global event counters.
-
- ----TTTT The ----TTTT (or ``trust me'') flag disables the semantic checks for
- combinations of event counters are normally not allowed on systems
- with mixtures of processors of different type and/or revision.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- EEEECCCCAAAADDDDMMMMIIIINNNN((((1111)))) EEEECCCCAAAADDDDMMMMIIIINNNN((((1111))))
-
-
-
- Extreme care should be used with the ----TTTT flag, as the reported event
- counter values maybe meaningless unless the execution environment is
- very tightly controlled. To have the desired effect, ----TTTT may require
- the concurrent specification of the ----MMMM flag.
-
- If the operation is completed without errors, eeeeccccaaaaddddmmmmiiiinnnn has an exit status
- of zero.
-
- CCCCAAAAVVVVEEEEAAAATTTTSSSS
- The underlying hardware event counters are a finite resource, to be
- shared amongst multiple competing uses.
-
- If there is any concurrent use of the process-based event counters via
- either ppppeeeerrrrffffeeeexxxx(1) or the counter-based SpeedShop profiling tools, then
- attempts to manipulate the global event counters via eeeeccccaaaaddddmmmmiiiinnnn will not
- succeed. Processes using the process-based event counters can be
- identified with eeeeccccffffiiiinnnndddd(1).
-
- If global event counting is enabled via eeeeccccaaaaddddmmmmiiiinnnn then this will augment
- any concurrent use resulting from an earlier use of eeeeccccaaaaddddmmmmiiiinnnn.
-
- Once aaaannnnyyyy global event counters have been enabled with eeeeccccaaaaddddmmmmiiiinnnn, then any
- future attempts to use either ppppeeeerrrrffffeeeexxxx(1) or the counter-based SpeedShop
- profiling tools will be unsuccessful, until aaaallllllll global event counters are
- released, either with ----rrrr or by disabling all active counters via ----dddd.
-
- For this reason, the user of eeeeccccaaaaddddmmmmiiiinnnn must be rrrrooooooootttt to use any option other
- than ----llll or ----eeee ????.
-
- Depending on the revision of the MIPS R10000 CPUs there is a difference
- in the interpretation of event counter 14 (``Virtual coherency
- condition'' for parts before revision 3.1 or ``ALU/FPU completion
- cycles'' for parts at revision 3.1 or later). There are also some subtle
- differences in the semantics of some of the event counters. In systems
- with a homogeneous deployment of R10000 CPUs at the same revision,
- eeeeccccaaaaddddmmmmiiiinnnn will adjust the description of event counter 14 accordingly.
-
- For systems with a mixed deployment of R10000 CPU revisions including
- some before 3.1 and some at or after 3.1, the interpretation of event
- counter 14 is undefined, and there may be some slight inaccuracies due to
- aggregation of counters with different semantics across all CPUs. For
- this reason counter 14 may not be enabled on systems with mixed R10000
- reployments unless the ----TTTT flag is specified.
-
- Identification of the types and revisions for all CPUs can be made using
- the ----vvvv flag to hhhhiiiinnnnvvvv(1), or the ----DDDD flag to eeeeccccaaaaddddmmmmiiiinnnn.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- eeeeccccffffiiiinnnndddd(1), eeeeccccssssttttaaaattttssss(1), ppppeeeerrrrffffeeeexxxx(1), ppppmmmmiiiinnnnffffoooo(1), ssssppppeeeeeeeeddddsssshhhhoooopppp(1) and
- rrrr11110000kkkk____ccccoooouuuunnnntttteeeerrrrssss(5).
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- EEEECCCCAAAADDDDMMMMIIIINNNN((((1111)))) EEEECCCCAAAADDDDMMMMIIIINNNN((((1111))))
-
-
-
- The specifications for the MIPS R10000 event counters may be found at
- http://www.sgi.com/processors/r10k/performance.html
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-